<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
		<title>history</title>
		<script src="http://wechatfe.github.io/vconsole/lib/vconsole.min.js?v=3.2.0"></script>
		<script src="js/app-jssdkv3.umd.min.js"></script>
		<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.js"></script>
		<link rel="stylesheet" type="text/css" href="./css/semantic.css">
		<script>
			function helloAlert() {
				alert("在一个新的页面执行1");
				alert("在一个新的页面执行2");
			}
			setTimeout("helloAlert()", 1000);
		</script>
	</head>
	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">history</h1>
		</header>
	</body>
	<script type="text/javascript">
		lx.ui.onHistoryBack(function () {
		  console.log("onHistoryBack已调用")
		  alert("调用成功")
		  // if (data.result){
			 //  alert("返回true")
		  // }else{
			 // alert("返回false") 
		  // }
		}) 
	</script>
</html>
